Skip to content

feat(slash-commands): type/source indicators, skill invocation & argument hints#5696

Closed
Drilmo wants to merge 2 commits intoKilo-Org:mainfrom
Drilmo:feat/slash-command-enhancements
Closed

feat(slash-commands): type/source indicators, skill invocation & argument hints#5696
Drilmo wants to merge 2 commits intoKilo-Org:mainfrom
Drilmo:feat/slash-command-enhancements

Conversation

@Drilmo
Copy link
Copy Markdown

@Drilmo Drilmo commented Feb 6, 2026

Summary

Enhances the "/" slash command menu with rich visual metadata, adds skills to the command list, and introduces argument hint ghost text for skills.

Features

Type badges

Each command in the dropdown shows a color-coded badge indicating its type:

  • 🔵 command — built-in commands (newtask, condense, etc.)
  • 🟣 mode — mode switching (code, architect, etc.)
  • 🟢 workflow — workflow rules (.kilo/rules)
  • 🟡 skill — installed skills (SKILL.md based)
CommandMode
command list mode list
WorkflowSkill
workflow list skill list

Source labels

Non-built-in items show their origin (project, global, org) to help disambiguate items with similar names.

Type-colored input highlights

When a slash command is typed in the input field, the highlight color matches its type:

Command (blue)Workflow (green)Skill (amber)
command highlight workflow highlight skill highlight

Skills in "/" menu

Installed skills are now discoverable and invocable directly from the slash command dropdown. Selecting a skill reads its SKILL.md and injects the content as <explicit_instructions> (same pattern as workflows).

Argument hint ghost text

Skills with an argument-hint field in their SKILL.md frontmatter (from the Agent Skills specification) display usage hints as faded ghost text after the command. The hint disappears when the user starts typing arguments, and yields to FIM autocomplete when active.

argument hint

Changed files

File Change
src/shared/skills.ts Add argumentHint? to SkillMetadata
src/services/skills/SkillsManager.ts Parse argument-hint from SKILL.md frontmatter
src/core/slash-commands/kilo.ts Add skill matching/invocation in parseKiloSlashCommands
src/core/task/Task.ts Pass skills from SkillsManager to slash command parser
src/core/webview/webviewMessageHandler.ts Send skills data to webview on launch
webview-ui/src/context/ExtensionStateContext.tsx Add skills state + skillsData message handler
webview-ui/src/utils/slash-commands.ts Add SlashCommandType, SlashCommandSource, SkillInfo, findSlashCommand(), skills parameter to all functions
webview-ui/src/components/chat/SlashCommandMenu.tsx Type badge colors, source labels, skills in dropdown
webview-ui/src/components/chat/ChatTextArea.tsx Type-colored highlights, argument hint rendering, skills in keyboard navigation
webview-ui/src/kilocode.css Type-specific highlight colors + argument hint style

Test plan

  • Type "/" in the chat input and verify type badges (command/mode/workflow/skill) appear with correct colors
  • Verify source labels (project/global/org) appear for non-built-in items
  • Verify installed skills appear in the "/" dropdown list
  • Select a skill from the menu and verify it invokes correctly (SKILL.md content injected)
  • Arrow-key navigation reaches all items including skills at the bottom
  • Type a command and verify the input highlight matches the command type color
  • Select a skill with argument-hint frontmatter and verify ghost text appears after the command
  • Start typing after a skill command and verify the argument hint disappears
  • Verify FIM autocomplete still works and takes priority over argument hints
  • pnpm run check-types passes (22/22)
  • pnpm run lint passes (18/18, 0 warnings)
  • pnpm vitest run passes (515 files, 7831 tests)

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Feb 6, 2026

🦋 Changeset detected

Latest commit: 0b646df

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
kilo-code Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

jeremylongshore added a commit to jeremylongshore/kilocode that referenced this pull request Feb 15, 2026
jeremylongshore added a commit to jeremylongshore/kilocode that referenced this pull request Feb 15, 2026
jeremylongshore added a commit to jeremylongshore/kilocode that referenced this pull request Feb 15, 2026
…asoningParams)

Remaining check-types errors are PR interaction issues:
- anthropic-filter.ts: type mismatch between PR Kilo-Org#5696 SDK changes and main
- RunSlashCommandTool.ts: PR Kilo-Org#4760 renamed RUN_SLASH_COMMAND experiment

These document known conflicts between PRs that need coordination.
…nd argument hints

Enhance the slash command menu with visual type badges, source labels,
skill discovery/invocation via "/", type-colored input highlights,
and argument-hint ghost text from SKILL.md frontmatter.
@Drilmo Drilmo force-pushed the feat/slash-command-enhancements branch from 37b21cc to 094718b Compare February 15, 2026 19:43
@kevinvandijk
Copy link
Copy Markdown
Contributor

Hi! I think this is a great improvement. We are however currently very focused on a ground-up rebuild of this extension using the new Kilo CLI as the backend. Because of this we made the decision to start temporarily limiting the size and type of features we're still accepting into the current extension. Would you be open to submitting this to the new extension? The UI is currently being polished in there.

To make up for lost time/effort and to show appreciation for the work you did I topped up your Kilo account with extra credits!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants